@extends('admin.base')

        @section('content')
        <div class="crumb_warp">
            <!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台，建站的首选工具。-->
            <i class="fa fa-home"></i> <a href="#">首页</a> &raquo; 修改密码
        </div>
        <!--面包屑导航 结束-->

        <!--结果集标题与导航组件 开始-->
        <div class="result_wrap">
            <div class="result_title">
                <h3>修改密码</h3>
                @if (count($errors) > 0)
                    <div class="mark">
                        <ul>
                            @if(is_object($errors))
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            @else
                                <li>{{ session('errors') }}</li>
                            @endif
                        </ul>
                    </div>
                @endif
            </div>
        </div>
        <!--结果集标题与导航组件 结束-->

        <div class="result_wrap">
            <form method="post" action="{{url('admin/dopass')}}" >
                {{csrf_field()}}
                <table class="add_tab">
                    <tbody>
                    <tr>
                        <th width="120"><i class="require">*</i>原密码：</th>
                        <td>
                            <input type="text" name="password_o" value=""> 请输入原始密码
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>新密码：</th>
                        <td>
                            <input type="text" name="password" value="{{old('password')}}">新密码6-20位
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>确认密码：</th>
                        <td>
                            <input type="text" name="password_confirmation" value="{{old('password_confirmation')}}"> 再次输入密码
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <button type="submit" class="btn btn-primary">提交</button>
                            <button type="submit" class="btn btn-primary" onclick="history.go(-1)">返回</button>
                            
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
        @endsection